<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Deflate output handler</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.http-negotiate-language.html">http_negotiate_language</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.ob-etaghandler.html">ob_etaghandler</a></div>
 <div class="up"><a href="ref.http.html">HTTP 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.ob-deflatehandler" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ob_deflatehandler</h1>
  <p class="verinfo">(PECL pecl_http &gt;= 0.21.0)</p><p class="refpurpose"><span class="refname">ob_deflatehandler</span> &mdash; <span class="dc-title">Deflate output handler</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.ob-deflatehandler-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">string</span> <span class="methodname"><strong>ob_deflatehandler</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$data</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$mode</code></span>
   )</div>

  <p class="para rdfs-comment">
   用于<span class="function"><a href="function.ob-start.html" class="function">ob_start()</a></span>.
  </p>
  <blockquote class="note"><p><strong class="note">Note</strong>: <span class="simpara">此输出处理器仅可使用一次。</span></p></blockquote>
  <p class="para">
   The deflate output buffer handler can only be used once.
  </p>
  <p class="para">
   It conflicts with <span class="function"><a href="function.ob-gzhandler.html" class="function">ob_gzhandler()</a></span> and 
   <a href="ref.zlib.html" class="link">zlib.output_compression</a> as well and should
   not be used after <a href="ref.mbstring.html" class="link">mbstring</a> extension&#039;s <span class="function"><a href="function.mb-output-handler.html" class="function">mb_output_handler()</a></span> and 
   <a href="ref.session.html" class="link">session</a> extension&#039;s URL-Rewriter (AKA session.use_trans_sid).
  </p>
 </div>


 


 


 


 <div class="refsect1 seealso" id="refsect1-function.ob-deflatehandler-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.ob-inflatehandler.html" class="function" rel="rdfs-seeAlso">ob_inflatehandler()</a> - Inflate output handler</span></li>
    <li class="member"><span class="function"><a href="function.ob-start.html" class="function" rel="rdfs-seeAlso">ob_start()</a> - 打开输出控制缓冲</span></li>
   </ul>
  </p>
 </div>



</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.http-negotiate-language.html">http_negotiate_language</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.ob-etaghandler.html">ob_etaghandler</a></div>
 <div class="up"><a href="ref.http.html">HTTP 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
